package com.honglv.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Auther: 生
 * @Date: 2024/03/17/21:14
 * @Description:文创
 *
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value ="tb_commodities")
public class Commodities {

    private Long id;

    //文创名
    private String name;

    //摘要
    private String summary;

    //图片
    private List<String> picture;

    //价格
    private BigDecimal price;

    //城市
    private String city;

    //作者id
    private Long authorId;
}
